package com.yang.spel;

public class Car {
    private String brand;
    private double price;

    private double tyrePermiter;

    public double getTyrePermiter() {
        return tyrePermiter;
    }

    public void setTyrePermiter(double tyrePermiter) {
        this.tyrePermiter = tyrePermiter;
    }

    @Override
    public String toString() {
        return "Car{" +
                "brand='" + brand + '\'' +
                ", price=" + price +
                ", tyrePermiter=" + tyrePermiter +
                '}';
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Car() {
       System.out.println("创建了一个Car对象");
    }
}
